package top.liuziqian.shop.mapper;


import org.apache.ibatis.annotations.Mapper;
import top.liuziqian.shop.domain.GoodsSupplierCategory;

import java.util.List;

/**
 *  商品供应商分类
 *
 * @author liujian
 */
@Mapper
public interface GoodsSupplierCategoryMapper {
    /**
     * 查询供应商分类信息
     *
     * @param supplierCategoryId 供应商分类ID
     * @return 供应商分类信息
     */
    public GoodsSupplierCategory selectSupplierCategoryById(Long supplierCategoryId);

    /**
     * 查询供应商分类列表
     *
     * @param supplierCategory 供应商分类信息
     * @return 供应商分类集合
     */
    public List<GoodsSupplierCategory> selectSupplierCategoryList(GoodsSupplierCategory supplierCategory);


    public List<GoodsSupplierCategory> selectSupplierCategoryAll();

    /**
     * 新增供应商分类
     *
     * @param supplierCategory 供应商分类信息
     * @return 结果
     */
    public int insertSupplierCategory(GoodsSupplierCategory supplierCategory);

    /**
     * 修改供应商分类
     *
     * @param supplierCategory 供应商分类信息
     * @return 结果
     */
    public int updateSupplierCategory(GoodsSupplierCategory supplierCategory);

    /**
     * 批量删除供应商分类
     *
     * @param supplierCategoryIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteSupplierCategoryByIds(String[] supplierCategoryIds);
}
